connect now returns the socket