finished all APIs except http_parser_parse_url.