Make S3 endpoint configurable
Merge pull request #271 from yudai/request/configurable_endpoint

Make S3 endpoint configurable