A generic DHT implementation.