Add doctest for `requestHeadersParser`
Handle newlines when header is expected