XS_WATCH_EVENT
if (state.msg.type == XS_WATCH_EVENT)
if (state.msg.type == XS_WATCH_EVENT) {
hdr.type = XS_WATCH_EVENT;