Restored HttpTestRequest cast for compilation with J6