Https compatibility for s3 upload through ZLUX