Jerry, I saw something that started me looking for ad_returnredirect over at the aD bboards, I think, but I couldn't find it in the 3.2.5 distribution so I dropped it.
Do you have it backported, so I don't have to? It's pretty straightforward, but it calls ad_conn, which is in another file and probably calls other stuff (what's wrong with ns_conn?) and if it's been done I don't want to reinvent the wheel.