Finite element formulations for constrained spatial nonlinear beam theories. (December 2021)