'trigger state_changed on getsockopt(EVENTS)'

def get(self, opt):

    if (opt in TIMEOS):
        warnings.warn('TIMEO    socket    options    have    no    effect    in    zmq.green', UserWarning)
    optval = super(_Socket, self).get(opt)
    if (opt == zmq.EVENTS):
        self.__state_changed()
    return optval
