Yup I had the same problem last year. Went to the homebrew store and asked for 9 feet of line, guy told me 5 was plenty. After dealing with foam and fast pours for a couple of months I switched to 12 feet, perfect pours now.
How long was it on the hops? I'm about to do this beer and want to avoid getting the same problem you had. Maybe I'll cut the dry hops in half and add them to flameout.