global shouldCheckSSL method