Fix bug with Content-Transfer-Encoding header incorrectly being base64.