Pass in ProxyFromEnvironment function to loggregator_consumer.

[Fixes #75343416]