removing localhost reference on socket connect
Merge pull request #1 from pmeth/patch-1

removing localhost reference on socket connect