Implemented correct error handling
Merge branch 'master' of https://github.com/Vinnovera/node-beanstalkd-rpc