update url.c to support UDP RTP and local File, merge errip and errdat into errpkt