feat(router): customize the health-check route

replaces #2636