Thousands turn out for firefighter’s funeral