net/id: handle error case
dht/test: providers test id compare