Add http(s)_proxy handling to apex