The “Herbst Hamiltonian” and the mass of boson stars