Merge pull request #43 from mrb/node-down-fix

addresses issue #41, among other things
Fix inverted logic on socket deadlines