add createToProxyUrlFn preserve https test