caddy-frontend: Fix prefer-gzip with https-only
Due to missing test and rare condition, if https-only and prefer-gzip-encoding-to-backend were true accessing http:// of the slave resulted with redirecting to the https:// url with prefer-gzip added to the path, which is fixed and tested here.