updated for beanstalkd 1.9