Fix issue #69
Merge pull request #70 from remicollet/issue-sock

Fix issue #69