Fix SSL relaxation switches
Fix issue when connecting to servers with self-signed certificates