strncmp(r->filename, "proxy:", 6) is faster than a note. Plus, allows for checking even if not due to rewrite.