[PATCH] RPC: fix accounting bug in the case of a truncated RPC message