Improved the proxy handling so that it takes into account other environment variables such as no_proxy and HTTP_PROXY etc