[feature] introduce some new msgbuf_head internal API