Rewrote handleServerMessage in client.

Now switches over strings instead of if-elseif-else..., and logs
error messages to the client's console.
Merge branch 'master' of github.com:ZimonD/ContextCG7