Trying SSL connection in NoVNC with fallback to unencrypted