title: Socket.io: check the status of a connection with the socket id
body: <p>I have a socket id of a connection. Can I get the status of that connection, inside the function handler of another one?</p>
  
  <p>Something like this:</p>
  
  <pre><code>io.sockets.on('connection', function(socket) {
      /* having the socket id of *another* connection, I can
       * check its status here.
       */
      io.sockets[other_socket_id].status
  }
  </code></pre>
  
  <p>Is there a way to do so?</p>