FINALLY got a working S3 multipart upload lib going. works so-so. has problems when uploading a 5MB chunk takes way longer than the input chunking. maybe curl has some sort of rate limiter. otherwise seems to work fine, so far.