Why putting it in HttpKernel ? It only depends on HttpFoundation