html: process meta/@http-equiv='content-type'

This code is imported from the old HTML parser to detect and
switch character encoding.