Port bencode.  bencode-test works