Respect S3 regional endpoints, see issue #4