smart client for node.