I have a similar problem with wine, especially reds. A glass of wine and I have a nasty headache within 20 minutes. Which really sucks because I live near a very good wine producing region.
Red wine headaches are typically caused by quercetin, a natural flavanol found in grape skins. When combined with alcohol, it blocks the liver enzyme needed to fully break down alcohol. This creates a buildup of toxic acetaldehyde, leading to a rapid headache.
You could possibly stop the wine headache by taking diamine oxidase enzyme prior to drinking wine. This assumes that the wine (sulfates) causes a histamine release and DAO enzyme degrades histamines in the body.