RouteMatcher extends HttpServer => Unit

This way it can be used by scala HttpServer.requestHandler() directly.