Steve is definitely spot on on purging.
I purge differently as I mentioned. I fill the keg with clean filtered water first and push all of the water out of the keg. There is a tiny bit at the bottom usually, so make sure not to use straight tap - filter first to remove chlorine. At this point, the keg should be full of CO2, with a very tiny residual O2. I use only 2-3 psi for this. I will disconnect my cobra tap and up the pressure to ensure a seated lid.
I open the release valve, and then connect the siphon hose clamped to a black disconnect. This allows the beer to transfer and gently push out the gas through the release valve. The back pressure helps to keep the beer still and reduce foaming. After oxidizing a couple of beers - I went to this extreme to ensure a fully sealed transfer.
I also put my cornie on a scale to watch the weight of the beer into the keg, so should you have more than 5 gallons, I can determine when to stop the transfer. A full cornie keg is around 49 lbs.