optimize: only register our nginx output header and body filters when the "replace_filter" directive is actually used in the user nginx.conf.