Sanitize input headers (pass 4).