Replace the most error-prone binary parsers with trunnel

We should create subtickets for this.