xb_read
err = xb_read((void *)&state.msg + state.read,
err = xb_read(state.body + state.read, state.msg.len - state.read);