don't split message in the middle of an escape
add test case for splitting on escape
Merge pull request #24 from cotcomsol/master

If max_octets is set, don't split the message in the middle of an escape.