You may not need to. As is, HttpServer's Start method sets some items up. After starting the HttpServer via the Start method (and letting it set up most of the things for the server object without you having to recreate/implement everything from scratch), you can stop the server (via Reflection, not HttpServer's Stop method), activate your SSL and restart the server via Reflection (don't use HttpServer's Start method, since it would create a new underlying server object, negating all your hard work).