Reworked the header parser to better catch max-age for HSTS.