[rpc] rename some functions (#43042)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/43042
Test Plan: Imported from OSS
Reviewed By: mrshenli
Differential Revision: D23228894
Pulled By: wanchaol
fbshipit-source-id: 3702b7826ecb455073fabb9dc5dca804c0e092b2