doh: respect timeout and restrict debug builds to http and https #4406
doh did not time out properly. This change makes it return early with CURLE_OPERATION_TIMEDOUT.
In debug builds, doh could be configured to use any protocol, which lead to it trying to do doh over pop3 when the http fuzzer was running. It is now restricted to http and https.