Add HTTP 405 error for unsupported methods