reworking the epiclient with the new reconnecting websocket