@Override
	protected synchronized URLConnection openConnection(URL url) throws IOException {
		URLConnection conn = proxy == null ? url.openConnection() : url.openConnection(proxy);
		if (debug != null && proxy != null)
			debug.println("AnonymousCallExecutor: Connection was opened with Proxy '" + proxy.toString() + "'");
		if (userAgent != null) {
			conn.setRequestProperty("User-Agent", userAgent);
			if (debug != null)
				debug.println("AnonymousCallExecutor: RequestProperty 'User-Agent' set to '" + userAgent + "'");
		}
		return conn;
	}