WebsocketTransport connect and open
Add write to websocket transport