Do not ignore last line if no blank line at end
Handle repeated user-agents correctly