We were excluding more code than we needed to in the OCSP/HTTP code in
the event of no-sock. We should also not assume that a BIO passed to our
API is socket based.
This fixes the no-sock build
Reviewed-by: Matt Caswell <email@example.com>
Reviewed-by: David von Oheimb <firstname.lastname@example.org>
(Merged from https://github.com/openssl/openssl/pull/11134)