Validate charset attribute of Content-Type.