Added Scala support for HEAD and DELETE.
Added Java support for PUT.