fix bug where message would be automatically sent if typed before websocket connects