Up to 2,000 officers expected at deputy's funeral