Merged new handlePut method with modified handleJoin method
Added DHT Client