Introduce a dedicated http_SetStatus() function.