Adding HTTP proxy support to allow localproxy to used TCP tunneling to connect using TCP tunneling.
Modifications
Change summary
Refactored the tcp_proxy_config into a separate header file and renamed it to LocalproxyConfig to make it easier to use with the new
component. And added some field descriptions.
Added a field for the tcp_adapter_proxy class for the HttpsProxyAdapter.
Separated out the TCP socket definition from the websocket stream definition to make it accessible.
Added implementation for HttpsProxyAdapter class.
Added integration for HttpsProxyAdapter errors and boost errors
Added code that starts an HTTP server that I can use to test against
Added unit test cases for the public methods in the HttpsProxyAdapter class
Added a wrapper around Boost websocket stream so that the caller won't have to worry about the underlying websocket stream type which will vary based on whether the web proxy connection is over TLS or not.
Updated the HttpsProxyAdapter to perform the SSL handshake with the web proxy before sending HTTP CONNECT when needed.
Updated the main function to accept https_proxy URLs with HTTPS protocol.
Adjusted the unit tests.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Motivation
Modifications
Change summary
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.