respond 405 if request has invalid method, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html