Is there a minimalistic, portable implementation of systemd-resolved's and systemd-userdbd's query APIs (not mangement APIs) that just calls libc's getaddrinfo / getpwnam / etc?