Adds sending new messages through websocket