Secure P2P networking protocol