Add HTTP get function
Add download function
Fix parsing bug
Add regression test