Ensures that a proxy is set within environment (line 21)