Use S3 accelerate endpoint when enabled.
NXDRIVE-2279 Use S3 accelerate endpoint when enabled
PR for master: #191