Fix bug in node TCP listener

The socket event 'connect' has already fired once the server 'connection' event
handler is called with a socket; hence, we move the on('connect') logic into
the server 'connection' handler.
Merge pull request #62 from gameclosure/fix-node-tcp-listener

Fix bug in node TCP listener