Spin-orbit interaction in Hartree-Fock calculations