Implement subscription model and remote printing.

Prefix-based wildcard subscriptions not done yet.