3aa5278c3a
- remove unused write_str var + move header parsing to new function separation of parsing vs processing + alter some variable names to avoid confusion between header value and header name (caused breakage with previous rev)