Added S3 CORS support
Fixed MD5 hash functions