Extended performance tests
Byte length prefix and buffers
DRY up server and client
Added error handling for corrupt messages