title: Creating a go socks5 client
body: <p>So I'm looking at the <code>net/proxy</code> docs and there is no examples at all of how to use any of its methods. I'm looking into using socks5. This is the how the function looks:</p>
  
  <pre><code>func SOCKS5(network, addr string, auth *Auth, forward Dialer) (Dialer, error)
  </code></pre>
  
  <p>Now everything kinda makes sense except I'm confused about <code>forward</code> which is a type <code>Dialer</code> and the function itself returns a <code>Dialer</code>. Everything else makes sense <code>network, add, auth</code> just forward is throwing me off. How would I set my client up to use the socks5 Dialer?</p>