Fixed a bug in the HSTS module around null headers
Landing #1863 - Fixed a bug in the HSTS module around null headers