static const char* oidc_get_port_from_host(	const char *host_hdr){
	char *p = NULL;
	char *i = NULL;

	if (host_hdr) {
		if (host_hdr[0]=='[') {
			i = strchr(host_hdr, ']');
			p = strchr(i, OIDC_CHAR_COLON);
		} else {
			p = strchr(host_hdr, OIDC_CHAR_COLON);
		}
	}
	if (p)
		return p;
	else
		return NULL;
}
static const char* oidc_get_port_from_host(	const char *host_hdr){
	char *p = NULL;
	char *i = NULL;

	if (host_hdr) {
		if (host_hdr[0]=='[') {
			i = strchr(host_hdr, ']');
			p = strchr(i, OIDC_CHAR_COLON);
		} else {
			p = strchr(host_hdr, OIDC_CHAR_COLON);
		}
	}
	if (p)
		return p;
	else
		return NULL;
}