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

...c states
This still needs to be figured out, it seems strange.