DHT: added id_equal(), ipport_equal(), is_timeout()
Merge pull request #299 from plutooo/master

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