[HttpKernel] Revert BC break introduced by 464439d195fc895079176498cb28d182dc8aef14