restore websocket transport