[PATCH 02/17] Add minimal p2p.c and p2p.h