fix header value parsing behavior for folded lines