For an HTTP 405 on generic methods, attempt to specify an Allow header.

Change-Id: I726d698fc014c21cc1e43a09a129384fa1f1235f