Use wss:// when served from https://

When the page is served via `https`, also request the WebSocket via SSL.

Note that the syntax style I used is because of how CoffeeScript is compiled into JS. Keeping it this way here, helps with any future merge with `livereload.js` from the upstream [livereload-js](https://github.com/livereload/livereload-js/) project.