ptth_relay debugging tools