title: Node.js print console output two times
body: <p>I am trying to create a simple node js server that print 'new client' when any one open the server URL.
  This is my code</p>
  
  <pre><code>var http = require('http');
  var server = http.createServer();
  server.on('request', function(req, res){
      res.end('hello world');
      console.log('new client');
  });
  
  server.listen(8080);
  </code></pre>
  
  <p>but when i open the <code>http://localhost:8080</code> the console output 'new client' two times, it should be one line, is this normal?</p>