Converts the given string parameter to an HttpMethod
Optimized lookup to find a method name and trailing space in a byte array.
See Implementation