docs: public static URLConnection getUrlConnection(URL url) throws IOException {
  		URLConnection urlConnection;
  		if (hasProxy()) {
  			urlConnection = url.openConnection(proxy);
  		} else {
  			urlConnection = url.openConnection();
  		}
  		urlConnection.setRequestProperty("User-Agent", userAgent);
  		return urlConnection;
  	}