Refactoring of HoTT telemetry transmitter daemon

Refactoring of HoTT telemetry transmitter daemon

 * Use more appropriate types
 * Better ways of getting compile-time constants (than using magic numbers)
 * Use signals for communicating with daemon process instead of shared memory (globals)
 * Improve logging code (less repetition, more appropriate syscalls)