simplified example for peer discovery, added some debug output to discoverPeers(), made Peer reference the connection created from createConnection()