Encounter-based Networking - Secure Device Discovery and Recognition