generalized tls log parsing