Bulk-fetch metrics from remote hosts

This is currently a WIP, with the intent of reducing an O(2N) query to something closer to an O(1~ish) query.
That line can be moved outside of the if/else clause