Introduced the beginnings of a protocol. The client and server now send each other messages that act as hooks to d/c the chat and close the socket