docs: public HttpURLConnection openConnection(URL url) throws IOException, NoSuchAlgorithmException, KeyManagementException, BugError {
  		if (!isSecure(url.getProtocol())) {
  			log.debug("Open HTTP connection with |%s|.", url);
  			return (HttpURLConnection) url.openConnection();
  		}
  
  		log.debug("Open %sauthenticated HTTP secure connection with |%s|.", keyManagers == null ? "not " : "", url);
  
  		SSLContext sslContext = SSLContext.getInstance("TLS");
  		sslContext.init(keyManagers, trustManagers, null);
  
  		HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
  		connection.setSSLSocketFactory(sslContext.getSocketFactory());
  		return connection;
  	}