[master] update SNI API