discover hostname, clientname and fix descriptor parsing