Added http(s) proxy support