BitTorrent and fountain codes: friends or foes?