extend core proxy options and handling

- rework the proxy handling in init to cover more cases and work more
  thoroughly
- add -proxy6 to allow setting a separate SOCKS5 proxy to reach IPv6 peers
- rework proxy data-structures to allow recognition of the base proxy
  ("-proxy") to allow a much better GUI integration