An adaptive hybrid CDN/P2P solution for content delivery networks