TLSPlaintext parser (with test infrastructure)

Same as #2, but with the test infrastructure.