add utility to use another endpoint/host beside using s3.amazon.com endpoint