copy model of catching encoding errors from darmok
Merge pull request #18 from extension/rack_encoding_catcher

copy model of catching encoding errors from darmok