[PATCH 0/9] Fix stream event opaque data leak and improve debugging