test: use s_client instead of curl

fixes #6647