Peer-assisted content distribution on a budget