improve error reporting messages and use stderr
Merge branch 'master' of https://github.com/jonschipp/zookeeper