Replace magic numbers with enum members
Add pdu_cache_response struct

The struct pdu_header was used before to represent a cache response
PDU. To make it semantically clear there is now a new pdu_cache_response struct.
Remove unnecessary brackets
Fix pdu_cache_response struct
Remove unnecessary brackets and heap allocation.