Make download_adapter aware of no_proxy environment setting
Make code style consistent for PR

Signed-off-by: Andrei Dinin <adinin@pivotal.io>