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:*322183

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>
5 files changed