Fix proxy support in check

Hi, 

I saw you added proxy support in latest 0.2.1 version. I found out it was not used in BinWrapper.prototype.check 

Adding this has solved the problem for now, but maybe it could be  better if we put the env variables reading in download library.

Any thoughts about this? 

Thank you