'Add modes via bitmask. Modes set before are not cleared!
:param mode: The mode to add.
:return: The new mode bitmask.'

def set_mode(self, mode):

    if (not isinstance(mode, integer_types)):
        raise TypeError('mode    must    be    an    integer')
    return _lib.SSL_CTX_set_mode(self._context, mode)
