Every officer authorized to tax costs in any court for services in any proceeding shall examine the bills presented for taxation, whether such taxation be opposed or not, and must be satisfied that the items charged are correct and legal, and shall strike out all charges for services which, in the officer’s judgment, were not necessary.