update connect() calls to correctly return NodeSocket object.