headlessclient.java updated