Message splitting implementation

Since #26 was erroneously merged, and manually rolled back, this PR was created...

Point being, the Regex used is still rather suboptimal and I am not content with the current way this works, so I'd like to get a review and some opinions on this ;)