Small simplification in TcpConnection