Refactor Symbol::TYPE into just a 'symbol' enum.
Add header for encoding_packet.