Add the librt link back. Apparently it is sometimes needed for clock_gettime.
Add some code to request the list of all service types for a server interface.