fix get protocols from packet headers