@jonn true, but the same is also something the application must handle when making something like a websocket-based API, so I think it's not terribly unreasonable for the application to handle this. Also as
@kristof mentioned, mosh could also be used for such applications, which is still SSH-based but more fault tolerant.
Also a big fan of SSH tunneling. I use it all the time woth my wonky network setups