# Simplified TcpClientExtensions.cs to use async/await instead of continuations.