added exec_env parameter

This PR allows the use of standard parameter exec_env. Most notably, I need this to add proxy settings to download Kibana from the an enterprise network.