CHROMIUM: tlsdate: Support IPv6-only networks

This CL adds a workaround for BIO connection since  BIO_s_connect()
doens't support IPv4 yet. It's based on CL:717021 that introduced
IPv6 support to tlsdate but broke proxy.

TEST=tlsdate is able to sync with an IPv6 connection and proxy connection
BUG=b:63137232

Change-Id: Ia99b1c47acf6a12832b7f0b98fd15216893f8c33
Reviewed-on: https://chromium-review.googlesource.com/1541335
Commit-Ready: Pavol Marko <pmarko@chromium.org>
Tested-by: Andreea-Elena Costinas <acostinas@google.com>
Reviewed-by: Hugo Benichi <hugobenichi@google.com>
Reviewed-by: Ben Chan <benchan@chromium.org>
5 files changed