Matching routes to an incoming http request