consider string size in hex2dec transformation

Reported by gergelypeli on GitHub
Closes #296

(cherry picked from commit 9b79b1bca1fc7fcfac751275de045e08728ddd00)
Fixed error reporting for dialog DID matching when dealing with BIN interface replication
(cherry picked from commit 246d3d8ad7f79c76e05ad74721b5e852208f9aa1)
Fix iteration of to be sent MSILO messages
Fixes issue #291
Thanks to Nick Altmann for reporting & testing
(cherry picked from commit 1dd4ea2b16f6a2f9f46a7e947052da2e1e591d04)