src/vs/platform/remote/browser/remoteAuthorityResolverService.ts/RemoteAuthorityResolverService/_doResolveAuthority
class RemoteAuthorityResolverService:	private _doResolveAuthority(authority: string): ResolverResult {
		const connectionToken = this._connectionTokens.get(authority) || this._connectionToken;
		if (authority.indexOf(':') >= 0) {
			const pieces = authority.split(':');
			return { authority: { authority, host: pieces[0], port: parseInt(pieces[1], 10), connectionToken } };
		}
		const port = (/^https:/.test(window.location.href) ? 443 : 80);
		return { authority: { authority, host: authority, port: port, connectionToken } };
	}