Add newline-mode for response

This is a workaround for curl on cmdline-terminal.
When a response is not terminated with newline,
it is possible for a response not to output to cmdline-terminal.