Develop

Added code to allow the ws to stop reconnecting by doing something like this:

$on('$close', function () { 
    ws.$$config.reconnect=false;
});