add InternetComm.java for managing internet communicationsy