Added handling of OnSendMessage, OnSendAction and OnSendNotice for echoing messages sent by the client