curl-based shell script for comparing resource's size in gzipped/non-gzipped form and determining whether its' server supports gzip compression at all