Encoded TTL. Fixed decode bug where it ignored 0. Removed log messages to make it smoother