Fixed #22971 -- Properly parsed RFC 2388 encoded headers

Thanks homm for the report.