Still just a thought exercise but now uses the length correctly, and composes the request
The encoder and decoder bits don't really mirror eachother, just wrote the quickest bit of code possible
For an actual, non-messy, useful, golike api would make the buffer readers and writers implement
their io counterparts, should also be able to create multiple connections, which would return a
goroutine with channels for encoding decoding etc.