Towards proton therapy and radiography at FAIR