I think the better solution would be to submit a patch to rest-client to know how to handle this TeeInput object and call rewind() instead of seek if available.  If i were Passenger I wouldn't accept this change ;)   We could potentially monkey patch rest-client instead, but this seemed like a lighter-weight change on our side.

rest-client isn't the most active project in the world, but we could try.