Avoid DoS in SSL certificate host matching.