Streaming connect middleware for uploading files to Amazon S3.