Add support for health checks

Added support for registering as health checks boolean by-name expressions as well as by-name expressions of type Either.