green.zmq: changed object.__setattr__ to self.__dict__ for backwards compatibility