add socket and ssl demo