title: Socks Proxy for HttpWebRequest
body: <p>According to my research whilst trying to solve <a href="https://stackoverflow.com/questions/3855137/httpwebrequest-webproxy-problem-the-connection-was-closed-unexpectedly">this</a> problem, it turns out that the .Net WebProxy class does not support Socks proxies - a tad annoying. I also can't seem to find any code or information which explains how to implement Socks 4/5 support via a class which can easily be used with HttpWebRequest (the Proxy property, to be exact).</p>
  
  <p>I've found limited information via google on how I could do this. <a href="http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/00141a94-a127-46e5-9c92-fe8d106efb56" rel="nofollow noreferrer">One suggestion</a> involves changing internet explorer proxy settings - something I'd rather not do.</p>
  
  <p>Does anyone know of anything which could do the job or have any suggestions? Any help would be much appreciated.</p>