[PATCH 04/11] server: Introduce a new async state enum.