'Deliver any received bytes to the receive BIO and then read and deliver
to the application any application-level data which becomes available
as a result of this.'

def dataReceived(self, bytes):

    self._tlsConnection.bio_write(bytes)
    if (not self._handshakeDone):
        self._checkHandshakeStatus()
        if (not self._handshakeDone):
            return
    if self._appSendBuffer:
        self._unbufferPendingWrites()
    self._flushReceiveBIO()
