Implemented the server side message parsing and state managing.