fix bug that parse errors can occur in case of including CRLF|LF in a header block