ndn-protocol: Fix bug for "Set Hub": Now we need to check if NdnProtocolInfo.face.connectionInfo is null.