Support for use from behind an http proxy

At our workplace we're stuck behind an http proxy. This change allows the api platform tools to work for us. It looks for the http_proxy or https_proxy environment variables, and if set, will send the tool's requests through that proxy.