title: Emit event not firing in .on() callback on the server
body: <p>I'm trying to build a system where one node controlls the other like this:</p>
  
  <pre><code>var app = require('http').createServer(handler)
    , io = require('socket.io').listen(app)
    , fs = require('fs')
  
  app.listen(8000);
  
  io.configure(function () { 
    io.set("origins = *");
    io.set("transports", ["xhr-polling"]); 
    io.set("polling duration", 10); 
  });
  
  
  
  
  var screen = io.of('/screen').on('connection', function (socket) {
      screen.emit('news', { hello: 'screen' });
    });
  
  var controls =  io.of('/controls').on('connection', function (socket) {
      controls.emit('news', { hello: 'world 2' });
  
      controls.on('controlPressed', function(data){
          console.log(data);
          screen.emit('cp', data);
      });
  
    });
  </code></pre>
  
  <p>however in the callback of controlPressed does log the data but doesn't emit the event screen.emit('cp', data);</p>
  
  <p>When I emit the event outside the callback the client receives it correctly.</p>