Added debugging output for matched response/heartbeat pair. BEWARE: Code does not seem to work for optimization levels higher than -O0, however does seem to work on default if used with valgrind. Possible race condition, must look into.