add isConnected method and remove incorrect annotations.

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