A simple router that runs inside a http.createServer handler.