title: Websocket Reverse Tunnel
body: <p>I am trying to see if there is any existing websocket implementation that will solve the problem described below. I did take a look at websockify but from what I understand it may not solve the problem I am looking at.</p>
  
  <p>Lets say I have 2 hosts, Host-A and Host-B. Host-A, a websocket client, will set up websocket connection to Host-B. Host-B should now be able to connect to SSH Server on Host-A over this websocket connection. Further to this, Host-A should be able to setup reverse tunnel for not just SSH but possibly other protocols too on the same websocket connection.</p>
  
  <ol>
  <li>Could this be achieved?</li>
  <li>Are there any existing implementations that does anything close to this?</li>
  <li>What possibly needs to be done to support this scenario with websockets?</li>
  </ol>