in uri_paser use strndup