Better args processing for examples/http_client