I think almost every alcoholic has sleeping problems when quitting. Melatonin has been very useful for me.
I used to drink 6-8 pints of beer, three or four times a week. If you go to bed always at the same hour and wake up at the same hour, the problem will disappear soon.