use proxy when downloading only if USE_PROXY is a real boolean and it is set to true