Tls json v1.1

Add JSON option for TLS logging. This is the factorized version of previous PR on same subject.

I did not change the UNDETERMINED use for TLS_UNKNOWN (and mentioned in a comment of previous PR). Pollux told me it should be defined in the TLS specification.