Selective protocol extractor from PCAPs or interfaces