packet: Add helpers to register/unregister ->prot_hook