Fix for wrong UTF-8 payloads length calculation #7