Use elm-binary in elm-lang/websocket to support binary data over WebSocket.
WARNING: Very experimental!
As this package uses Elm Native modules you will need to install with something like elm-github-install.
A simple echo server and client is given in the examples/
folder.