Fix TcpConnection specs