title: socket.io get socket's variable in namespace
body: <p>I'm using socket.io 1.7.2 and try to catch all users with variables I defined to them in namespace - room.</p>
  
  <p>Here example:</p>
  
  <pre><code>io.of('/playspace')
      .on('connection', function (socket) {
          socket.join('lobby');
          socket.on('apply user data', function (userData) {
              //Defined data to this (user)
              socket.username = userData.username;
              socket.balance = 1000;
          }
      });
  </code></pre>
  
  <p>And I'm get users list with</p>
  
  <pre><code>console.log(io.nsps['/playspace'].adapter.rooms['lobby']);
  </code></pre>
  
  <p><strong>Question:</strong></p>
  
  <ol>
  <li><p>How to retrieve user with variable I defined like...</p>
  
  <p><code>console.log(io.nsps['/playspace'].adapter.rooms['lobby'][0].username);</code></p></li>
  <li><p>How to loop and fetch</p></li>
  </ol>
  
  <p>(Here exmaple it's work but without namespace and room)</p>
  
  <pre><code>for (var clientId in io.sockets.clients().connected ) {
      this_client = io.sockets.connected[clientId];
      console.log(this_client.username);
  }
  </code></pre>
  
  <p>But with namespace and room, I have no idea</p>