dcd: improve dcd client