In a later commit, htlc raw failure messages will be exposed through the main rpc. This is a preparation for that.