iOS port and CURL download

**NOT READY FOR MERGE**

This branch aims to make ConnectionKit usable under iOS.
It is currently possible to compile and use CK in iOS but it's not properly tested.

There is also an initial draft implementation of file download for CURL based protocols.

Help from anyone interested is appreciated :tada: