Split up messages longer than 510 characters