Add rpcrequest trait and box request types