Reorder the HTTP server example, so that initialization code comes first.