Moved from TorrentBroadcast.scala