title: Socket IO 1.2 Query Parameters
body: <p>I can't figure out how to retrieve query parameters on the server side for socket.io
  1.2.1</p>
  
  <p>Here's my client side code</p>
  
  <pre><code> var socket = io('http://localhost:3000/',{_query:"sid=" + $('#sid').attr('data-sid') + "&amp;serial=" + $('#serial_tracker').text()});
  </code></pre>
  
  <p>and the server side:</p>
  
  <pre><code>io.use(function(socket,next){  //find out if user is logged in
          var handshake = socket.request;
          console.log(socket.request._query);
          handshake.sid = handshake.query.sid;
  }
  </code></pre>
  
  <p>socket.request._query is:</p>
  
  <pre><code>{ EIO: '3', transport: 'polling', t: '1419909065555-0' }
  </code></pre>
  
  <p>Does anyone know how query parameters work in socket io 1.2.1?
  Thanks for any help and if you need any more information, just ask me.</p>