The RevscoringModel class should be able to query an internal MW endpoint (namely something like mw-api.discovery.wmnet). The current mwapi seems hitting the external endpoint without having a way to configure its behavior.
This feature is needed to allow kubernetes pods to query an internal discovery endpoint, allowing us to set up internal-only egress rules.