added simple helper for properly handling promises in my tests
in certain environments (like saucelabs) we can not reliably receive a 0 status code, the error at all will have to be enough for now
Actually pass the minSockets config to the Agent, it's only used by forever-agent but doesn't hurt passing it to http.Agent
Merge pull request #56 from elasticsearch/master

Fix minSockets config option