Made compatible with eclipse
Merge remote-tracking branch 'upstream/master'
Added exception logging
Merge remote-tracking branch 'upstream/master'
Added handling of connection errors and reconnection.
Merge pull request #1 from lbovet/master

Connection error handling and automatic reconnection