title: Change Socket.IO static file serving path
body: <p>I am using Socket.IO on a Node server with a basic HTTP server (no Express or Connect or anything like that). By default, Socket.IO serves the client file to</p>
  
  <blockquote>
    <p>/socket.io/socket.io.js</p>
  </blockquote>
  
  <p>I would like to be able to change that base path to something else, like</p>
  
  <blockquote>
    <p>/foo/bar/socket.io/socket.io.js</p>
  </blockquote>
  
  <p>Is there any built-in way to do this, or any way without changing Socket.IO's code? I think the answer lies in the <code>Static</code> module (<code>require('socket.io').Static)</code>), but short of writing my own to replace the default, I see no way to go and change the way that behaves.</p>
  
  <p>How can I do this?</p>