changed return type of getInstanceEndPoint in ConnectionInstance
from InstqaceObject to ConnectionInstanceEnd