This is a simple wrapper over curl (https://curl.haxx.se). It uses the unix:popen word to initiate a pipe to curl and stores the returned data into a buffer.
This takes in three values:
• the URL to fetch
• the destination buffer
• a maximum number of bytes to read
The buffer should be at least one cell longer than the max to allow for the NULL termination.