Rewrite uri-parser by Ragel.