Fix registering local endpoints when Socket interface is disabled
Fix registering local endpoints when Socket interface is disabled

Local endpoints can only be used by when clients are connect via unix
socket since clients using D-Bus can only access the endpoint registered
via Media API.

silent-snowman/bluez,ComputeCycles/bluez,silent-snowman/bluez,ComputeCycles/bluez,mapfau/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,mapfau/bluez,pkarasev3/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,pkarasev3/bluez,silent-snowman/bluez,mapfau/bluez,ComputeCycles/bluez,ComputeCycles/bluez,silent-snowman/bluez,pstglia/external-bluetooth-bluez