Reworked the complete communication between server and client, now using
MessageWrapper objects