edited ns-lib.tcl to accommodate attach-agent with DTLS