style, and check transports.indexOf('websocket')