Cleanup of class globals before bug fix.
Reworked the header parser to better catch max-age for HSTS.