[FIXED JENKINS-22788] Optional env. proxy support; slight usage change.