Merged 1.1.0-q changes to 1.0.0 and changed the version to 1.1.2-SNAPSHO...

...T. Also added code to try reconnecting then AlreadyClosedException happens.