HPCC-12399 Address cleaner socket updates

Added writetms routine for address cleaner plugin (in LN repo)

This PR goes together with an LN repo PR #705

https://github.com/hpcc-systems/LN/pull/705

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>
should be a const char *.  Using a static_cast<> would have complained.