simple ssl switch support ready

Signed-off-by: xiehuc <xiehuc@gmail.com>