add sendChatMessage method to ClientConnection