add isConnected method and remove incorrect annotations.

Here is a change I had to make while converting my application from AutobahnAndroid to android-websockets to take advantage of the latter's ssl support.