release 0.4

* improvements to subscriptions

  * client state and methods for tracking subscriptions using acks

  * an unsubscribe request also generates ack