Catch common error of zsocket_set_xxx on zsock_t sockets