make ctx-server proxy type configurable