fixed socket open  params
Merge pull request #1 from werdin/master

fixed socket open  params