Added hostname extraction from TLS, for use with stats.