Optimize RelayCellBody::is_recognized
!2045 (merged) adds some additional branching and complexity to is_recognized
etc to handle different relay cell formats. This code is in the critical path for performance, so we may want to spend some more effort optimizing it.
It may also be worth adding some (e.g. criterion) benchmarks for this code as well.