RPC, cosmetic: move RPC code to rpcnet.cpp module