Fixed the segfault when reading data. The string could be a variable size and that resulted in the errors. Changed the string in message.h to a character array of size 72, this can be changed later if required.