Discovery library, for common code to discovery not specific to eureka.