AMQP style topic matching

The impl is rough and needs polish, in particular caching.