use Socket.type instead of Socket.socket_type (deprecated since pyzmq-14.1.0)