cmd proxy code example
Example 1: get current used proxy windows 7
netsh winhttp show proxy
Example 2: proxy server windows
netsh interface portproxy add v4tov4 listenport=80 connectaddress=ip-of-server-on-internet connectport=23 listenaddress=ip-of-windows-machine protocol=tcp