Websocket uses http protocol for the initial handshake and switches to use a tcp connection. So, an http tunnel would work.