Websocket chat: submitting on enter