DHT implementation in python