Properly translating server messages

The client is now able to understand everything that the server sends
it. It can now understand all of the messages received from the java
UnitTest