server: Introduce tls mode for the server

Using tls priority of NORMAL:+ANON-ECDH:+ANON-DH already allows a
client to connect to a server and protect the data using tls.

Generate the dh params on load (and do that for the client right
now as well) but that will go away soon.

Change-Id: Ifa2ad24c0a631573c259a3bf94b91a946ad9ec9d
diff --git a/src/osmo_server_main.c b/src/osmo_server_main.c
index bb94ec4..27fb519 100644
--- a/src/osmo_server_main.c
+++ b/src/osmo_server_main.c
@@ -22,6 +22,7 @@
 
 #include <osmo-pcap/common.h>
 #include <osmo-pcap/osmo_pcap_server.h>
+#include <osmo-pcap/osmo_tls.h>
 
 #include <osmocom/core/application.h>
 #include <osmocom/core/rate_ctr.h>
@@ -216,6 +217,8 @@
 	osmo_init_ignore_signals();
 	signal(SIGHUP, &signal_handler);
 
+	osmo_tls_init();
+
 	rc = telnet_init(tall_bsc_ctx, NULL, 4241);
 	if (rc < 0) {
 		LOGP(DCLIENT, LOGL_ERROR, "Failed to bind telnet interface\n");