The previous fix also made it clear that the ssl_history field may grow unbounded via the ssl_alert event. Prevent by capping using a configurable limit (default 100) and raise a weird once reached.