HTTP_Adapter: Allow API users to enable/disable SSL

At the moment HTTP_Adapter has no option to enable SSL

Related: SYS#6824
Change-Id: I6487deea50cd9b4ed4905d9a3a78e00def8ea319
diff --git a/library/HTTP_Adapter.ttcn b/library/HTTP_Adapter.ttcn
index c06aa38..d26cce5 100644
--- a/library/HTTP_Adapter.ttcn
+++ b/library/HTTP_Adapter.ttcn
@@ -24,7 +24,8 @@
 
 type record HTTP_Adapter_Params {
 	charstring http_host,
-	integer http_port
+	integer http_port,
+	boolean use_ssl
 };
 
 function f_http_init(HTTP_Adapter_Params pars) runs on http_CT {
@@ -128,7 +129,7 @@
 function f_http_tx_request(charstring url, charstring method := "GET", template charstring body := omit,
 			   HeaderLines custom_hdr := { })
 runs on http_CT {
-	HTTP.send(ts_HTTP_Connect(g_pars.http_host, g_pars.http_port));
+	HTTP.send(ts_HTTP_Connect(g_pars.http_host, g_pars.http_port, g_pars.use_ssl));
 	HTTP.receive(Connect_result:?);
 	HTTP.send(ts_HTTP_Req(url, method, body, host := g_pars.http_host & ":" & int2str(g_pars.http_port), custom_hdr := custom_hdr));
 }