An updated version of go-bencode from The Go Authors.