[HttpKernel] made the Kernel class more flexible (closes #7396)