[HttpClient] Add HttpClientInterface::withOptions()
#40306
Merged
HttpClientInterface::withOptions()
#40306