Fixed issue #115 - Added more detailed error handling to client-side syn...

...c states
The reason for this is connected should not be emitted until the option passed in, i.e. manual or auto is called. @yoavgurevich what I suggest is that you change it to if(options.manual) { sync.manual(); } else { sync.auto(options.interval); }  return sync.emit('connected');