fix for s3put host specification - issue #2522