ignore additional encodings in received content-type headers (#4585)

closes #4585