Have made some progress

Send message has proper format. Need to convert to send properly
formatted over the socket.