Add XDMCP support as a server/manager

Very basic support, works with Xephyr -query

There are possible code style issues, point them out to me, please.