fork of http://zsync.moria.org.uk/zsync.git with bugfixes and support for libcurl