audit: online - limit download time based on HTTPS determination
audit: online - limit download time based on HTTPS determination

Previously, the http_content_headers_and_checksum method always
downloaded the entire url, including headers. These downloads
periodically hang, outputting false positives or wreaking havoc on
the CI. Therefore, use curl's --max-time arg to prevent this by
setting a hard limit of 600 seconds when the entire file is going
to be used to detect whether the url can be changed to use the HTTPS
protocol instead of HTTP. Otherwise, if the url already is HTTPS, limit
the download time to 25 seconds since only the headers, not contents, matter.

muellermartin/dist,nandub/brew,MikeMcQuaid/brew,jmsundar/brew,JCount/brew,konqui/brew,maxim-belkin/brew,EricFromCanada/brew,sjackman/homebrew,mgrimes/brew,DomT4/brew,MikeMcQuaid/brew,pseudocody/brew,jmsundar/brew,claui/brew,mgrimes/brew,vitorgalvao/brew,claui/brew,reitermarkus/brew,vitorgalvao/brew,tonyg/homebrew,Linuxbrew/brew,mahori/brew,reelsense/brew,Linuxbrew/brew,reelsense/brew,pseudocody/brew,EricFromCanada/brew,nandub/brew,maxim-belkin/brew,hanxue/linuxbrew,gregory-nisbet/brew,konqui/brew,reitermarkus/brew,JCount/brew,aw1621107/brew,MikeMcQuaid/brew,Linuxbrew/brew,hanxue/linuxbrew,jmsundar/brew,amar-laksh/brew_sudo,amar-laksh/brew_sudo,palxex/brew,rwhogg/brew,Linuxbrew/brew,aw1621107/brew,palxex/brew,JCount/brew,mahori/brew,alyssais/brew,nandub/brew,maxim-belkin/brew,Homebrew/brew,muellermartin/dist,claui/brew,Homebrew/brew,gregory-nisbet/brew,rwhogg/brew,aw1621107/brew,amar-laksh/brew_sudo,sjackman/homebrew,bfontaine/brew,mgrimes/brew,vitorgalvao/brew,gregory-nisbet/brew,ilovezfs/brew,MikeMcQuaid/brew,claui/brew,sjackman/homebrew,mahori/brew,Homebrew/brew,alyssais/brew,DomT4/brew,konqui/brew,tonyg/homebrew,DomT4/brew,pseudocody/brew,tonyg/homebrew,bfontaine/brew,rwhogg/brew,bfontaine/brew,zmwangx/brew,JCount/brew,reitermarkus/brew,ilovezfs/brew,reelsense/brew,reitermarkus/brew,Homebrew/brew,muellermartin/dist,alyssais/brew,mahori/brew,EricFromCanada/brew,DomT4/brew,sjackman/homebrew,hanxue/linuxbrew,zmwangx/brew,palxex/brew,ilovezfs/brew,nandub/brew,EricFromCanada/brew,vitorgalvao/brew,konqui/brew,zmwangx/brew