'Fake L{IReactorTCP.connectTCP}, that logs the call and
returns an L{IConnector}.'

def connectTCP(self, host, port, factory, timeout=30, bindAddress=None):

    self.tcpClients.append((host, port, factory, timeout, bindAddress))
    if isIPv6Address(host):
        conn = _FakeConnector(IPv6Address('TCP', host, port))
    else:
        conn = _FakeConnector(IPv4Address('TCP', host, port))
    factory.startedConnecting(conn)
    self.connectors.append(conn)
    return conn
