Added Socket client example code