[ad_conn url] IIRC
You can most certainly also backport ad_return_url by just cut and pasting it from HEAD.
Actually, the ShareNet code is not older than OpenACS, it's just very much forked and based on OpenACS 4.0a. (But - FORKED)