with libcurl library calls. This solution should be more robust than a homebrew URL parser solution.
eddcd93e82