Fixes #225 so S3 PostObject works with cname-style buckets
Merge pull request #240 from aws/bugfix/post-object-domains

Fixes #225 so S3 PostObject works with cname-style buckets