Sub AppStart (Args() As String)
Server.Initialize("", DonatorKey, "test") ' Application = ' the handler that will be used in the url e.g. http://localhost:51042/template
Server.Port = 25000
Server.PortSSL = 55555
If Server.PortSSL <> 0 Then
Server.StartServerHTTP2("keystore.jks", "mypass", "mypass")
Else
Server.StartServer
End If
StartMessageLoop
End Sub