Use http(s) proxy if set in the environment
Fix syntax.