use ajax prefilter to handle proxied request