finish implementation of Put and Get for DHT