add curl sample for echo-server