Move packet logging into it's own plugin.