Update README.md

I'm not sure about the other code examples but NodeJS didn't work with that code so I added the ".connect" 

```js
  var socket = require('socket.io-client').connect('http://localhost');
  socket.on('connect', function(){
    socket.on('event', function(data){});
    socket.on('disconnect', fucntion(){});
  });
```