Check if a string is HTML according to MIME Sniff standard