Post data from shell to an HTTP server, line-by-line