Missing proxy parameter in factory

The factory don't pass through the proxy parameter.