Fix exceptions (OnWebSocketReady, requestService)
Fix NPE
fix hubiquitus gateway time out issue
set transport to null on Error
Add comments
Fix some comments
Fix connect Null Pointer Exception, threads not synchronized with class result as transport = null in some cases.
Synchronizing all methods using transport.
Merge pull request #1 from tijee/bug/fix-connect

Fix connect Null Pointer Exception, threads not synchronized with class ...
Merge pull request #10 from tijee/bug/fix-crashs

Fix exceptions (OnWebSocketReady, requestService)