Compatible with zmqpy