Fixes socket problem
Merge pull request #11 from sgenyk91/master

Fixes socket problem