Add more control for proxies

Added a overload for 'SetProxy' function.
Change the WebProxy to IWebProxy.