Made a start with the server-side of the chat.