ensure last newline of head request is sent