fixed verifyConnection-method in Client.java and fixes some comments