fixed curl use
Merge https://github.com/peergum/AddressParser