Fixed #23900 - Added missing imports

The Preventing header injection example includes
imports that are not imported

Thanks @collinanderson for indicating that the imports
should be in alphabetical order