Remove `Debug.Trace`
Handle newlines when parsing multiple headers
Use `takeWhile1` instead of `stringCI`

`stringCI` gives a partial result when the length of the input is
shorter than the expected string.