Put back changes that derek made for the publisher
Put back changes that derek made for the publisher

* See commit https://github.com/nats-io/nats/commit/5351d47912778063d44435edc8afa241425efb18

wallyqs/go-nats,apcera/nats,ZebinKang/go-nats,ZebinKang/go-nats,nats-io/nats,wallyqs/go-nats,apcera/nats,nats-io/go-nats,nats-io/go-nats,pires/nats,nats-io/nats,pires/nats