[yan qian] Add h2 embeded mode support