Bencode implementation in Go