core: be strict when parsing connection in AddAndActivateConnection