AS with any snake you are going to have to handle it and suffer the biting until he calms down. Just dont make any fast movements and try not to restrict his movements so he doesn't feel threatened.
-----
2.1 dogs
0.1 cat
1.2.1 crested geckos
1.2.0 leopard geckos
0.0.3 Western Hogs
0.0.1 Vine snake (Ahaetulla nasuta)
0.0.2 African egg eaters (Dasypeltis scabra)
1.0.0 Viper boa (Candoia aspera)
0.0.1 Green tree frog
0.0.2 Copes Gray tree frogs