add specs for proxy configurations and fix issue where no_proxy env is not set