Photoemission from the gas phase using soft x-ray fs pulses: an investigation of the space-charge effects