Use secure socket

Using the wss:// protocol fixes #5.