rpc:add nio capability