Silence some errors, report HTTP 405 on bad method, fix content length