completed html-stream and websockets