Added message splitting so messages too long for server get sent seperatly