added more functionality to client movement protocol and server movement protocol.