+ (when use-tls
+ (apply #'gnutls-negotiate :process proc gnutls-params)
+ (unless (or (< emacs-major-version 31)
+ (string-suffix-p ".onion" host))
+ ;; Bind this option to nil to suppress DNS lookups.
+ (let (nsm-trust-local-network)
+ (nsm-verify-connection proc host port))))