Update to the new Flow-compatible Channel interface in mirage2