Currently we are reaching the edges of what is sustainable to add to the discovery_services endpoint. We need to add further logic that is unlikely to be needed elsewhere and we should move liftwing endpoints to their own configuration section.
This work also requies us to have the ability to internally set the host header based on URL path for a single internal cluster. For example having lw/abc and lw/xyz both hit inference.discovery.wmnet but with a different host header set for abc and xyz respectively.