Added http healthcheck functionality and metrics.