added a way to pass custom headers to S3 GET requests