add live capture mode via af_packet socket

+capture live on given interface
+packet handler stub
+code clean up (moved common stuff to pp_common.h)