Preserve response status code when translating from internal to servlet API