extensions/github/src/importExportProfiles.ts/GitHubGistProfileContentHandler/getAgent
class GitHubGistProfileContentHandler:	private getAgent(url: string | undefined = process.env.HTTPS_PROXY): Agent {
		if (!url) {
			return globalAgent;
		}
		try {
			const { hostname, port, username, password } = new URL(url);
			const auth = username && password && `${username}:${password}`;
			return httpsOverHttp({ proxy: { host: hostname, port, proxyAuth: auth } });
		} catch (e) {
			vscode.window.showErrorMessage(`HTTPS_PROXY environment variable ignored: ${e.message}`);
			return globalAgent;
		}
	}