I really threw this together.  Do you have any thoughts about what I should test?   As an aside, I'd want to double-check that changing the encoding of rack.input fro ASCII-8BIT to UTF-8 wouldn't break anything, but didn't do that as I just wanted to spike out an implementation for discussion.