Add telemtries and cleanup codebase
Cleanup whitespace
Refactor and add another proxy
Whitespace
Robustify heartbeat code
need unistd
Pass by reference