Bittorrent implementation under the Twisted framework