@Override
    public IApiConnection connect(ApiRequest request,
            IAsyncResultHandler<IApiConnectionResponse> handler) throws ConnectorException {

        return new ShortcircuitApiConnection(handler);
    }
@param request the request
@param config the provided configuration
@param failureFactory the failure factory
plugins/cors-policy/src/main/java/io/apiman/plugins/cors_policy/CorsConnector.java