Fix http method cpp string matching