Server framework for service discovery