Update index.js

Changed default ports to be 443 for SSL and 80 for non-SSL (they were switched). Passed the whole URL to the connection, since it needed both the host and the path. Updated the package by bumping the version number. Updated the README to make ws.connect()'s callback non-optional, since it wasn't optional (at least, not in my experience).
So to be completely honest, I don't get why this is the case either. I just found in my implementation that the socket only worked when I did this. The issue that it seemed to have was that the socket never got the connect message, so the handshake never started. I'll keep fiddling around with it. One way to keep this in was to add a socket.emit('connect') when the socket opened (you think that should have happened automatically, right?). It looks like the socket opens and then it's returned, and by the time it is used in the connection the event has fired already, so it doesn't get run. But it's weird because the callback in socket.on('connect', callback) works. I'll go ahead and give it another try, I may be wrong here.