DHT: added id_equal(), ipport_equal(), is_timeout()