Get this EndPoint as a Uri
Uri toUri([bool useTls = true]) { return Uri(scheme: useTls ? 'https' : 'http', host: address, port: port); }