Round trip chat message working

There were some last-minute serialization and endienness problems.

Client still does not interpret the messages yet.