libdns: Provide replacement for EPROTO.