DHT: added id_equal(), ipport_equal()