Add streaming output from processes to web client using websockets