A Peer-To-Peer Internet Measurement Platform And Its Applications In Content Delivery Networks