Fixed an error where messages read ushorts in the opposite byte order to how they were written