refine code, rename http_parser to uri