rpc module split to "proto" and "server" parts