test socket server