Update lib/dnode.js

It's very handy to know which connection ended/failed. Please pull in this simple update to enable callbacks with the object instance.  thanks!