Common C++ class framework for RTP packets