preliminary fix/hack to make SSL interception with upstream proxy work