added unified message format for all communication - server-close, client-close, chat, presence