Example how to use websockets with array buffers