Select service end-point based on specified serviceName.

If serviceName is null, then the default/primary service endpoints are selected.
Otherwise, matching for the specified serviceName is used (from additional endpoints).