probably a copy paste from http://twistedmatrix.com/documents/13.0.0/core/howto/servers.html#auto1 'numProtocols' is not used anywhere else so we keep the second version of the 'connectionLost' function.