Refactor the Iris driver's reading and handling of internal packets. (dm)