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

...c states
Should do more than log, you should assert.