Looks great. One small suggestion: make the messages that are sent from the helpdesk to the agent type="chat", so it'll show up like a chat message, as a lot of clients handle normal (non-chat) messages differently, and in this context probably in an undesirable way.