Respect S3 regional endpoints, see issue #4

See #4