ipaccess: Add connect timeout in e1inp_line

* VTY command e1_line N connect-timeout T to set the connect() timeout
* use ipa_client_conn_open2 to connect with timeout

Related: SYS#6237
Change-Id: I7379102d19c172bed2aa00377d92bc885f54b640
diff --git a/src/e1_input.c b/src/e1_input.c
index ee529cc..02f3b30 100644
--- a/src/e1_input.c
+++ b/src/e1_input.c
@@ -509,6 +509,7 @@
 	line->keepalive_idle_timeout = E1INP_USE_DEFAULT;
 	line->keepalive_num_probes = E1INP_USE_DEFAULT;
 	line->keepalive_probe_interval = E1INP_USE_DEFAULT;
+	line->connect_timeout = 0;
 
 	line->rate_ctr = rate_ctr_group_alloc(line, &e1inp_ctr_g_d, line->num);
 	if (!line->rate_ctr) {