classified in "rounded headed" (non-venomous) and pointed headed (venomous, adders and similar).
This is usually recommended as a good id point, BUT it is NOT. A lot of snakes can spread the back of their heads in a defence posture, so the head looks triangular in shape. That is a feature that is present on every continent.
Also, in Europe there are 3 snakes that are venomous, but not vipers, they are back-fanged (all are harmless to humans, the worst thing their venom does is cause swelling and nausea that passes in a couple of hours, no medical treatment needed) and (I know of 1 european) species that doesn't have fangs, but has saliva that is toxic to its usual prey (again, that snake is harmless to people)
European snakes are easier to ID (to me, at least) because I have the book (Reptiles & Amphibians of Britain & Europe)- the book has a key for ID-ing european snakes and the web page Amphibians & Reptiles of Europe (
http://www.herp.it/) with a lot of pictures. Also, there are only 34 species (compared with 128 Costa Rican), but there are also several subspecies' in Europe (i.e. the Grass Snake has 12, the Nose-horned Viper has 6).
Now knowing what this snake is, I'd say that the bulges behind the head are just muscles, more prominent that usual because the snake probably is a little thin (meaning it could use a nice meal).
Glad we could help!