src/vs/platform/remote/browser/remoteAuthorityResolverService.ts/RemoteAuthorityResolverService/_doResolveAuthority
class RemoteAuthorityResolverService:	private async _doResolveAuthority(authority: string): Promise<ResolverResult> {
		const connectionToken = await Promise.resolve(this._connectionTokens.get(authority) || this._connectionToken);
		const defaultPort = (/^https:/.test(window.location.href) ? 443 : 80);
		const { host, port } = parseAuthorityWithOptionalPort(authority, defaultPort);
		const result: ResolverResult = { authority: { authority, host: host, port: port, connectionToken } };
		RemoteAuthorities.set(authority, result.authority.host, result.authority.port);
		this._cache.set(authority, result);
		this._onDidChangeConnectionData.fire();
		return result;
	}