agent: use 501 Not Implemented instead of 400 if method isn't supported.
agent: send allowed methods on 405 per RFC2616