re-enabled socket connect