using the referer header to proxy