title: Sending message to specific client with socket.io and empty message queue
body: <p>I´m going crazy with socket.io!
  Documentation is so bad it's simply not true.</p>
  
  <p>I want to send a feedback to specific client over socket.io</p>
  
  <p>My server side looks like this:</p>
  
  <pre><code>app.get('/upload', requiresLogin, function(request, response) {
      response.render('upload/index.jade');
      io.sockets.on('connection', function (socket) {
          console.log('SOCKET ID ' + socket.id);
          io.sockets.socket(socket.id).emit('new', 'hello');
      });
  });
  </code></pre>
  
  <p>and the client side looks like this:</p>
  
  <pre><code>$(document).ready(function() {
      var socket = io.connect('http://localhost:80/socket.io/socket.io.js');
      socket.on('new', function (data) { 
          console.log(socket.id);
          console.log(data); 
          //$('#state').html(data.status);
      });
  });
  </code></pre>
  
  <p>but the client does simply nothing. I have tried nearly everything. Can someone tell me what I am doing wrong, please! :(</p>