Add ProxyType setting in preparation of SOCKS5 proxy support.