title: Socket.io messages is not appending
body: <p>I have app.js</p>
  
  <pre><code>io.on('connection', function(socket){
    socket.on('message', function(msg){
      console.log('message: ' + msg);
    });
  });
  </code></pre>
  
  <p>and conversation.js</p>
  
  <pre><code>var socket = io('http://localhost:8080');
  
  socket.on('message', function(msg){
    $('#messages').append(msg);
  });  
  
  $(function(){
    $('#sendMessageForm').submit(function(){
      socket.emit('message', $('#text').val());
      $('#text').val('');
  
      return false;
    });
  });
  </code></pre>
  
  <p>So, my server is receiving all messages that I sended and showing them in console log. But socket.on is not appending this messages. I thought that something wrong with socket, but this code is working</p>
  
  <pre><code>socket.on('messages', function(msg){
    $('#messages').append('some text');
  });  
  </code></pre>