make s3 handle http