For all the segments of an SMS longer than 140 chars, the sequence number is the same.
It should not be.
For some SMSC, the connection is rejected and re-binded and the SMS is not fully sent.
It could give an Null Exception ins some case.

I forked the project to make fix the bug, do you want me to create a pull request ?