Allow to specify the KeyResolverCore in KeyResolver
This makes it possible to use KeyResolver with AutocryptKeyResolver from messagelib.