add websocket send() method.