tlsdate-helper: openssl: support connecting on IPv6-only networks.

openssl's BIO_s_connect methods support IPv4 only.  Use BIO_s_fd instead
to connect using a file descriptor, and supply our own pre-connected socket
file descriptor.  This allows us to support for IPv4 and IPv6 servers.