Added proxy enabled curl 

Is passed the environment directory and detects http_proxy for potential usage in the curl request