allow uppercase http methods
adjusted method check to work properly with non-string values
Merge pull request #452 from EndangeredMassa/endangeredmassa/method-casing

allow uppercase http methods