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

...c states