Updated server to parse a request from the client;
debating best method for getting updates when sending a message.
(Send updates with the server's response/acknowledgment? or manually
update after sending?)