Functorial transfer between relative trace formulas in rank 1