/// <summary>
        /// The constructor for the TextToSpeechClient
        /// </summary>
        /// <param name="manifest">The path to app manifest</param>
        public TextToSpeechClient(string manifest) : base(manifest)
        {
            speakers = new Dictionary<string, MycroftSpeaker>();
            voice = new MycroftVoice();
            WebRequest request = WebRequest.Create("http://checkip.dyndns.org/");
            using (WebResponse response = request.GetResponse())
            using (StreamReader stream = new StreamReader(response.GetResponseStream()))
            {
                ipAddress = stream.ReadToEnd();
            }

            //Search for the ip in the html
            int first = ipAddress.IndexOf("Address: ") + 9;
            int last = ipAddress.LastIndexOf("</body>");
            ipAddress = ipAddress.Substring(first, last - first);
            port = 1500;
            handler.On("APP_MANIFEST_OK", AppManifestOk);
            handler.On("APP_DEPENDENCY", AppDependency);
            handler.On("MSG_QUERY", MsgQuery);
        }