BitTorrent client in Scala