fix extra newline when printing unformatted request headers