in principle, this should create and destroy an http server...