Application output to websocket stream