Starting with JavaScript Agent >= 22.4.0, the useHTTPSAlways
flag only applies to fetching adrum-ext.js
and geolocation data. CORS and image beacons by default will be sent to an HTTPS endpoint if available. If HTTPS is not available, beacons then will be sent with the host HTTP endpoint.