Converted remaining code in EmsMessage to be offset agnostic.
Use boost's formatting magic.
Add retry mechanism.
Fix error entry debug format.