[PATCH 1/5] server: Pass a thread flags parameter to create_thread.