Bencode implements the BitTorrent bencode serialisation format, as described in
http://www.bittorrent.org/beps/bep_0003.html#bencoding.
