[PATCH 07/17] p2p: Add the Scan Phase