New interface server.Server to create a server with its own settings.
Re-added the old server.start() interface.
Re-added the server.stop() function too.
Pass the started server to the callback.