net: Add take_error
to TcpSocket
and TcpStream
#4739
+10
−0
Merged