Copy CONNECTING, OPEN, CLOSING, CLOSED properties from WebSocket
Copy CONNECTING, OPEN, CLOSING, CLOSED properties from WebSocket

This increases compatibility as a drop-in replacement.

eg:

    var SocketType = useReconnecting ? ReconnectingWebSocket : WebSocket;

    SocketType.CONNECTING

ekapujiw2002/reconnecting-websocket,nguarracino/reconnecting-websocket,joewalnes/reconnecting-websocket,hw1e14/reconnecting-websocket,futurist/reconnecting-websocket,UIKit0/reconnecting-websocket,mcanthony/reconnecting-websocket