[TIMOB-18161] CLI: Implement Java connectivity tests from titanium-connection-test in ti setup check

https://jira.appcelerator.org/browse/TIMOB-18161