code clean up
ssl update
add ssl sample