support string for Http\Client::setData