Move to new OpenSSL 1.0.2 API.
Use the Database directly from HttpHandler::GetEntries.

And also CTUDPDNSServer::LeafHash, for completeness.