Using elasticsearch.js from inside a corporate network. Proxy config?

I am using the JavaScript (nodejs) client from inside a corporate network to access a cluster hosted by Elastic.co (AWS). There does not seem to be any clear way to set the configuration to use my corporate proxy (proxy-server.corp.com).

var client = new elasticsearch.Client({
host: 'proxy-server.corp.com:8080 http://6c9625.us-east-1.aws.found.io:9200',
log: 'trace'
});

Any advise would be appreciated.

thanks

Mike on a corporate network

I'm not sure but I think this is something you would want to set up on the server running Node and not within the Elasticsearch client itself.