Added https support
Refactored examples
Removed leftover console.log
Refactored examples to use self-signed localhost certificate. Added additional comments.
URL's prefixed with 'wss://' will no longer have 'ws://' appended to them.
Added secure websocket unit tests
Added latest build of mows.js for client-browser example
Removed redundant test certificates (Unit tests now use the certificates located in ./examples/cert)
Reformatted code style (2 space indents and curly braces)
Changed indentation on example JS files from 4 to 2 spaces.
Added options parameter to createConnection to support secure connections.
DRY'd up some of the logic shared with createClient.
Updated unit test
Formatting.
Refactoring to run tests on the browser, too.