Added chat message type, expanded protocol details