Ensure correct status is sent to clients

Without this change, the resulting status sent to clients is 0 (NGX_OK). This ensures that when headers are sent to the client (line 770, immediately after setting the status), they don't sit there waiting forever.