How long are your lines? The first thing that came to my mind was "short lines, I'll bet!". If you have 8 foot lines or so, and are still getting foam, then I'd guess the beer is overcarbed. What pressure have you kept the beer at, and what temperature?