'Receives some characters of a netstring.
Whenever a complete netstring is received, this method extracts
its payload and calls L{stringReceived} to process it.
@param data: A chunk of data representing a (possibly partial)
netstring
@type data: C{bytes}'

def dataReceived(self, data):

    self._remainingData += data
    while self._remainingData:
        try:
            self._consumeData()
        except IncompleteNetstring:
            break
        except NetstringParseError:
            self._handleParseError()
            break
