HTTPS: Create an HTTP proxy
You can use TElHTTPSServer class to create an HTTP proxy server. In this case you should handle incoming requests and pass them to a target host. This will require you to extract the request URL from TElHTTPSRequestParams instance in your TElHTTPSServer.OnRequestHeaders event handler. Then you can use an instance of TElHTTPSClient to perform the request and send the received data as a response to an originating client.