HTML encode names and messages in chat window