Bug fixes. Adding HTTPS/WSS self-signed encryption.