Return HTTP 405 Method Not Allowed where appropriate.
Merge branch 'master' into support/2.0