Adding support for sending requests through an http proxy