consolidate proxy config so it can work w/non-http + add socks support

should fix #998 cc @biddster

note this is missing a unit test for GuiceProxyConfig and jsch proxy