Merge pull request #125 from mdlayher/master

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