Integrate url parser to downloader.

Signed-off-by: YunChao Chen <ycchen@YunChaos-MacBook-Pro.local>