Fix PROTOCOL_PACKETS_OUT_OF_ORDER error to be catchable

closes #844