Uses server responses when sending messages to generate delivery reports for those messages.
Fixes a problem where history messages from chatroom keep filling the history.
Fixes a problem where history messages from chatroom are sometimes duplicated in the ui.