A pure Haskell implementation of bencode