Adding CORS support for S3 buckets(canot test this, all buckets not accessible for me)