test socket object client