demo ready code for torrent client and torrent server