Fixes #3081 - proper handling of disabling ssl verification

Empty ssl_ca, ssl_cert and ssl_key mean not to use ssl
verification/authentication