Update reconnecting-websocket.js

adding connecting state
Update reconnecting-websocket.js

calling onconnecting on the initial connect
Update reconnecting-websocket.js
Merge pull request #2 from dcolens/patch-1

adding connecting state would be cool