libXdmcp: modernize.