SSL socket demo, both CS and Java.