How To Test Internet Connection Using Java