Issue#110 : specify endpoint interface configuration

add endpoint type configuration:
if specified, services use the given url : adminURL, internalURL or publicURL
if not specified, default is publicURL