Changed info command to read correct wss setting. Changed Event to wait as there is no get method
Added error code
Merge pull request #39 from richard-ive/master

Follow up to my previous push. Changed demo client to read correct wss setting. Added error code.