Add support for non-default s3 connection hosts

. Confirmed to work with GovCloud.