Message routing based on current subscriptions

If multiple clients with different capabilities are connected, only
send messages to one of them.