app/pdump: add tool for packet capturing