Tidy up HTTP server