private void SendMessageWithMetadata(SimpleSocketClient client)
        {
            string message = "This is test message nr ";
            IDictionary <object, object> dictionary = new Dictionary <object, object>();

            dictionary.Add("Key1", new DataObject("Test", "This is a text", 10.56, new DateTime(2000, 1, 1)));
            dictionary.Add("Key2", new DataObject("Test2", "This is a second test", 11, new DateTime(2000, 1, 1)));


            for (var i = 0; i < _numMessages; i++)
            {
                client.SendMessageWithMetadata(message + (i + 1), dictionary);
            }
        }