Hey there,
I've been getting bad headaches aswell since beginning my second trimester. I too just try not to get hungry (small snacks throughout the day) and plenty of liquids! With this said it still doesn't stop them completely, but i just dont seem to get them as often.
-Tellytubby (16 weeks tomorrow)