Only set http_proxy if one is defined