Extracts the host from the server config to configure the TLS, now required in Go 1.3