'set setting/getting sockopts as attributes'

def test_attr(self):

    s = self.context.socket(zmq.DEALER)
    self.sockets.append(s)
    linger = 10
    s.linger = linger
    self.assertEqual(linger, s.linger)
    self.assertEqual(linger, s.getsockopt(zmq.LINGER))
    self.assertEqual(s.fd, s.getsockopt(zmq.FD))
