Improving payload truncate code

Make it use bytesize instead of char count
Add more tests
Update changelog