AsyncWriterSource: handle the closing of connections detected from read operations
TcpClient: do not rely on "state()" to detect whether the underlying socket has been disconnected
HttpClient: properly handle various types of connection losses