doc: readline document TTY utils

fix #6933
deps: backport b5135bbc from c-ares repo

Original commit message:

    ares_parse_txt_reply: return a ares_txt_reply node for each sub-string

    Previously, the function would wrongly return all substrings merged into
    one.

fix #6931
net: reset `endEmitted` on reconnect

fix #6908