pf tests: Move Sniffer to its own file
Make it easier to re-use the sniffer class in other test support scripts.