add CNodeConnector::registerPort() function