TCP and UDP State Tracking in Security Analytics