Support legacy Express middleware where status code is first arg.