Arduino + websocket + socketIo

Try this ESP8266_WebSocketClientSocketIO example of my WebSockets_Generic Library.