handle e.g. non-ascii message ids

I'm getting a failure in this test (even though Travis isn't...)
For me, it appears that `unicode(exc)` is not correct (something is escaping the unicode chars), but `unicode(exc.value)` _is_