backport of SSM/TV's changes to support raw PUT/POST bodies.

Also PUT/POST/DELETE don't HTTP 415 by default.