DRY channel state checks prior to HTLC message processing