Like others have said, it will take time but eventually he'll settle down to a degree. Although I kind of sympathise with how your probably feeling. My second snake was a striped Cali kingsnake. Totally different to my corn, and a fast angry biting machine. He just wouldn't let go. He bit me pretty much every time I went in his enclosure. Such a small angry snake that wanted to eat everything. I actually remember thinking "what have I done?" and I truly believed that this little snake would try to kill me pretty much everyday for the foreseeable future.
He is so much better now, and I've learnt to read his intentions from his body language and the way he approaches me. He is very viv defensive but out of the viv he is a complete puppy of a snake. He's probably one of my favourites now, and I could never be without his distinct character and he is the main reason I like kings so much.
Again as others have said don't try to restrain his head, take him gently by scooping up his middle. Try to move in his viv with confidence. Don't grab him quickly and don't hesitate, just do it calmly. I've always found that's the best way