bitcoin/bitcoin — pull request #1781 by Diapolo (2012-09-03 20:42:00+00:00)
Title: enhance proxy support / network init

- add -proxy6 to specify a SOCKS5 proxy for reaching IPv6 peers
- add init message for network initialisation
- enhance control flow for proxy init code
- new init order Tor -> IPv6 -> Base proxy
- remove redundant .IsValid() check for Tor proxy address
- don't set Tor proxy, when IsLimited(NET_TOR)
- don't allow SOCKS versions != 4 or != 5
- update parameter help messages to reflect changes and tweak them to
be more clear