For HTTPS first we want to treat NS_ERROR_UNKNOWN_HOST as an HTTPS related error because it might be a 404 returned by a proxy (see HttpProxyResponseToErrorCode). For the HTTPS-only case we don't want that because it almost always is an unrelated error and the users would have to confirm the interstitial every time to find out. Differential Revision: https://phabricator.services.mozilla.com/D209247