Handle OpenSSL::SSL::SSLError when resolving URLs.