Fix issue 252 - Add reconnection option

This is a first swing on adding `reconnection` option.
We kind of need this to be added to test with Mobile-Appmaker and also to deploy to server where WebSocket will be close when there is no activity from client to server and likewise.

Other options can be added later such as reconnectDelay and many others as suggested in the ticket #252.

Unit test for this will be add ASAP, but I want this to be review at least to be sure what I'm doing here is what we need.
We're checking this `reconnecting` in case they have provided `token` and it was their first connect because sometime they can provide the token and if they did we want to make sure we don't use the same one here.