Pick-up and inelastic scattering contributions to the proton optical potential