work on framework for dht message handling