That's normal behavior for mine, and she's never struck at anyone.
If you're shaky and nervous in handling it, that will scare them and make them want to bite or get away. If it makes you more confident try handling the snake while wearing thick gloves [like leather gardening gloves or welding gloves]. If that works keep wearing the gloves until you both get more comfortable with each other again.