support charset in content-type, close #1