Not sure if the performance decrease is worth it as most of the time you'll be parsing the frame anyway so you'll know if it is invalid.