Packet and field destructor support added.
C++ snippets and test added.