Use binary:match/2 instead of binary:split/2 in cowboy_http
Use binary:match/2 instead of binary:split/2 in cowboy_http

Also fix a bug introduced in a previous commit.

lpgauth/cowboy,cad627/cowboy,venkateshreddy/cowboy,dangjun625/cowboy,piboye/cowboy,kivra/cowboy,lpgauth/cowboy,nviennot/cowboy,heroku/cowboy,cad627/cowboy,yangchengjian/cowboy,paulperegud/cowboy,LineMetrics/cowboy,odo/cowboy,CrankWheel/cowboy,MSch/cowboy,imdeps/cowboy,grahamrhay/cowboy,rbalint/pkg-erlang-cowboy,K2InformaticsGmbH/cowboy,heroku/cowboy,pap/cowboy,essen/cowboy,manastech/cowboy,noname007/cowboy,rabbitmq/cowboy,sile/cowboy,yangchengjian/cowboy,callsign-core/cowboy_hybi00,hairyhum/cowboy,unisontech/cowboy,LineMetrics/cowboy,callsign-core/cowboy_hybi00,omusico/cowboy,manastech/cowboy,ferd/cowboyku,linearregression/cowboyku,heroku/cowboyku,binarin/cowboy,layerhq/cowboy,LineMetrics/cowboy,unisontech/cowboy,binarin/cowboy,276361270/cowboy,bsmr-erlang/cowboy,piboye/cowboy,bobos/ecweb,essen/cowboy,Reimerei/cowboy,ninenines/cowboy,turtleDeng/cowboy,acrispin/cowboy,layerhq/cowboy