title: socket.join does not work (socket.io)
body: <p>So, my socket.join calls are doing nothing. After calling socket.join, and then listing the rooms the socket is in, the socket is only connected to the room defined by it's id (it's own room). </p>
  
  <pre><code>function onJoin(room) {
      console.log("Joining room: " + room);
      socket.join(room);
      console.log(socket.id + " now in rooms ", socket.rooms);
  }
  </code></pre>
  
  <p>Would print for example: </p>
  
  <pre><code>&gt; Joining room: 5aba92759b9ffa9fdf579714d6aa125ddb05cb1172611331775e7a69dab37258
  &gt; Q6D4h17DvdOZrbrEAAAC now in rooms  { Q6D4h17DvdOZrbrEAAAC: 'Q6D4h17DvdOZrbrEAAAC' }
  </code></pre>
  
  <p>If it makes a difference, here's how my socket server is being created: </p>
  
  <pre><code>//app.js
  var app = express();
  var http = require('http');
  var server = http.Server(app);
  var io = require('socket.io')(server);
  var chat = require('./routes/chat/chat')(io);
  
  //chat.js
  module.exports = function(io) {
    io.sockets.on('connection', function(socket) {
  
      socket.on('join', onJoin);
      ...
  }
  </code></pre>
  
  <p>Where's the issue?</p>
  
  <ul>
  <li>Socket.io v1.7.3</li>
  </ul>