You're right, the pattern wants the edge to curl up, which is why you started with stocking stitch. Just trust the pattern and keep going - it WILL lay flat in the body of the hat. I've knitted many beanies like that one.
What a beautiful book - I must seek that one out - I googled it and there are some lovely patterns in it. The hat is cute!