Allow connections to be passed

allow connections to be passed with

var d = dnode();
var c = net.connect(12345);
d.connect({stream: c});

This ensures all signals are connected correctly and dnode is setup accordingly.