Simple connection to the client, sending messages
Encoder working okay… needs cleanup