Fix connecting socket detection
Merge pull request #494 from rysenko/master

Fix connecting socket detection