I am working on a project with Mozilla Europe. In this project, I use websocket by Worlize (server-side) and Mozilla (client side), Node.js to try to upload files from a cli
Note: Prior to version 11, Firefox only supported sending data as a string.
Source: https://developer.mozilla.org/en/WebSockets/Writing_WebSocket_client_applications