Peer-assisted Content Distribution on a Budget