Update reconnecting-websocket.js

adding connecting state
Update reconnecting-websocket.js

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

Add connecting state