How to send text from a JavaScript rule to a WebSocket in OpenHAB?

(topic deleted by author)