LIBO—a linac-booster for protontherapy : construction and tests of a prototype