Redid Host class so it will connect to a remote host