And finally the stuff for MingW. I which this could also work for
MSVC. But it seems it's lacking too many C99 features.

The fmemopen() is just a temporary hack until the base64* stuff
gets updated. The int inet_aton() should IMHO be put in a missing
file.