Improve error logging
Merge branch 'master' of github.com:bpaquet/node-logstash