Add timeout connect support

TCP connections use the 3min default timeout.
Add the ConnectTimeout function to tweak it.