Please make this function and `proxy_scheme` private.