The pick-up of cometary protons by the solar wind