Use a secure websocket transport.
Merge branch 'issue-1-secure-websocket'

Resolves issue #1