Support lazy connections in publisher (Fixes #171)

Fixes issue #171, Producer::publish() didn't support lazy connections anymore.