To rewrite the websocket lib for Arduino I extract the protocol part from whole websocket transceiver module. It's kind of diffcault to use for now