remove the use of http server sent events, just use the streaming api
handle line feeds by rewriting the current line. This isn't perfect since it
won't handle subtle cases where the colors are change between lines but will
work in all standard cases
Now commands that writes a progess will work correctly without adding a new line
every time and users will see the progress in realtime.