Revert " Removed unused scaling rpc handler code"

No match.