Your comment and reply further in the thread are spot-on and brilliant. Thank you.
I kinda knew about this, but I'm still not clear on something: How can I use this trick when another party *originates* an SMS to me? This technique catches their replies to an SMS I start via IM, but doesn't help if someone sends me an SMS in the first place. Anyone know a trick for that?