title: Connect to specific route via socket.io
body: <p>I need to access Web sockets via specific path, I mount my socket.io on the client with a path ('ws')
  Server code:</p>
  
  <pre><code>var io = require('socket.io')(server, {path: '/notif'});
  </code></pre>
  
  <p>Client code:</p>
  
  <pre><code>var socket = io('//127.0.0.1:7733/ws/', {path: '/notif'});
  socket.connect();
  </code></pre>
  
  <p>This does not work due to “ws” on client. I suspect it's because I don't have the equivalent on the server (e.g. require server on specific path).
  (when removing the /rt mount, everything seems to work as expected).</p>
  
  <p>What is the server api to set up ws to listen on specific URL ?</p>