Express service discovery middleware.