move proxyListener into setup