Start the server as a Thread.