TBinaryProtocol shouldn't hang on bad records

Sketch of a solution developed in elephant-bird.