[PATCH v2 2/6] server: Separate SD_RECEIVE and hangup conditions.