using websocket to send data between browsers