BitTorrent bencode serrializer/deserrializer