Add utils to handle HTLC handling failure reason