Split messages when too long (fixes #66)