[tls] Handle multiple handshake records