properly get the content-type header as lowercase

without this, willie will always fall back and decode pages as
UTF-8. this is because in the conversion, the headers are all
converted to lowercase