Add function to dump the complete packet