Fix splitting messages.
Splitting messages is fixed.
Merge pull request #42 from EgorMatirov/split_long_messages

Splitting messages is fixed.