(core) support chainable custom rewrite handlers in ob_sessrewrite()