Split error.h into error/base.h and error/http.h.
Add class DiscoveryError.