First click on "Connect" and then you'll see some greeting messages being sent as WS messages
Then click on the "Download file" button; Firefox will prompt you where to save the file and close the WS connection.
The code of this demo is available on github
Greetings