cleanup
updates code net.connections to net.getConnections(). was depreciated in node.js v0.10.0
prevents distributing nonexistent keys