tetra/core/encap: new script to track ENCAP'd events