I have a C# Windows Forms application that uses the SimpleHttpServer class, a "Simple Embeddable HTTP server class in C#", and the titanium-web-proxy, a "cross-platform asynchronous HTTP(S) proxy server in C#". The SimpleHttpServer class uses the System.Net.Sockets.TcpListener class internally.
The application uses the Titanium.Web.Proxy.ProxyServer.SetAsSystemProxy method to establish a default proxy server for current machine.
The problem is that it appears that the SimpleHttpServer is bypassing this proxy server. Is there a way to resolve this issue?