- Added proxyProvider as a constructor parameter so we are not forced to subclass in order to provide one.