app/pdump: add command line options for socket paths