sync messages between clients

also handle initial handshake, disconnect and initial game serve