simplified EndPointI, added MockAddress and MockEndPoint