I think it would be nice if we can have an API that controls the simulation server.
use case:
In WebViewer we want to simulate the current run, stop, step buttons of the kernel and to connect WebViewer to the kernel.
possible solution:
preparing a port dedicated to web API and WebSocket in the kernel.
the run, stop and step can be done using a simple web API query.
the web viewer can be connected using WebSocket.