I think doing a `foreach ((array) $headers as $header) {` and in there the check for newline + append to `$this->headers` would be nicer than this if/else + recursion.