Bittorrent encode / decode written on D