add reentrant of flex and bison (msg_parse)
add msg_hander