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
Merge pull request #669 from anarcat/fix-encoding

properly get the content-type header as lowercase