Rework HealthCheck{Endpoint => Handler} not to use Handler inheritance.

This gives more flexibility, and avoids dependencies on internal classes in core.