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).
`tls.constructor` is the same as `Object`, but I got the idea. I'll fix this with `socket.constructor.name === 'CleartextStream`