Split long messages at a configurable length. Fixes #29.