fix empty chunk in tls