Improve error reporting.
Merge branch 'master' of github.com:bodgit/libevent-stomp