Support HTTP(S) proxies (closes #232)