Moved SSL and GZIP detection to separate handlers so we can enable and disable them with flags at a later date