Code to provide information about TProtocols at runtime.

Needed for handling unknown fields correctly.