Parse Content-Type headers with charset info in it.