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 we're not running the nodejs-websocket server, nor are we running it on localhost. It doesn't appear to get a connect event when the socket is opened, which I'm not sure the websocket protocol requires. I know that your server will emit 'connected' on a connection event, but it doesn't looks like it's required.