A PET prototype for in-beam monitoring of proton therapy