logcli: Remove port from TLS server name when provided in --addr (#5477)
logcli: Remove port from TLS server name when provided in --addr (#5477)

If connecting to a TLS secured endpoint with an explicit port,
ensure that ServerName contains only the host and not the port to avoid
a cert validation failure
grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki