Convert service to RPC for easier switches at transport layer