socket connect tweak