Support lowercase or mixed-case HTTP methods in custom actions

Fixes #26