How to override deployment.proxy.type at runtime?