fix #175: fix work with beanstalkd socket