S3 server endpoint support fix