add func to cast Node to DHTnode