[bug 853904] Fix NoCacheHttpsMiddleware to use request.is_secure()