Create a dublex stream around a websocket