feat(s3/util.js): #897 #898 #899 - support for custom domains and buckets in the URI path