[HttpKernel] added a check for private event listeners/subscribers