Add a function to validate a keypair,
and make the number of connected DHT nodes KVO-observable.
Update Core ref.