simplify sample s_client invocation