http and https proxy support