http_transport_curl: add an API to bind IP address

Gale mesh child devices change IP address during the GrOOBE setup phase.
This causes buffet to lose connection to cloud for sometime. This CL
allows buffet to bind the curl requests to the new IP address.

BUG=b:32510317
TEST=manually on gale. Groobe test from App.
CQ-DEPEND=CL:*324641

Change-Id: I84ac5f92bcad0190a30afc2b547280debc31d8e3
Reviewed-on: https://chromium-review.googlesource.com/433462
Commit-Ready: Julan Hsu <julanhsu@google.com>
Tested-by: Julan Hsu <julanhsu@google.com>
Reviewed-by: Srinivasa duvvuri <sduvvuri@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
(cherry picked from commit 2a5afe35a39f9ca98480da2f8584179e6b62d8fd)
5 files changed