Implement basics of reflection-based packet decoding.