title: Socket.io Client Request Origin URL
body: <p>On the client, in the browser, I have this code:</p>
  
  <pre><code>this.socket.on('initial', function(data) {
      console.log(data);
  });
  </code></pre>
  
  <p>On the server I have:</p>
  
  <pre><code>socket.sockets.on('connection', function(client){
      console.log('client connected');
  });
  </code></pre>
  
  <p>My question is: how can I detect the URL where the request came from? For example if the first closure was running on "/posts/view/1", I want to be able to detect it inside of the second closure.</p>