Example implementation

An example implementation of a fetcher process can be found in curl-stream.c. This implements a fz_stream using the popular `curl' http fetching library.

The structure of this process broadly behaves as follows: