Here's what I need:
I have a software application that only uses HTTP proxies. I have a subscription to private SOCKS proxies. I want an HTTP-to-SOCKS proxy server program made. The software will run on the same windows PC as the proxy server software you will be creating. I will input 127.0.0.1 and the port number of the proxy server software that you are creating, into my own software that I have only uses HTTP proxies. Therefore, your software will accept the multiple incoming HTTP proxy requests. I will be able to import a list of SOCKS proxies, in IP:Port format, one per line, into the proxy server software, and it will randomly choose a SOCKS proxy from the list, and use that. I want to have the ability to set the timeout for the SOCKS proxy, as well as be able to choose how often your software will rotate the proxies. For instance, if a proxy does not connect within 3 seconds, try a new one. If a proxy does connect, use that proxy for 30 seconds, then switch to a new one. Since the software that I have (the one that uses http proxies only) will be multithreaded, I want your software to use a different proxy for every thread/connection that my software uses to connect to your software (the http to socks proxy server software).
I hope this wasn't too confusing. I want this done in either C or C++, and I want source code. I need this as soon as possible.