fix #175: fix work with beanstalkd socket
Merge pull request #187 from endeveit/master

fix #175: fix work with beanstalkd socket