more detailed friend class specification
Disable reading OSM files from network on Windows.

Windows doesn't have pipes and fork, so the current implementation that calls
the curl binary doesn't work. This patch disables the code using #ifdefs. In
the future libcurl or something like it should be used internally, so we don't
need the fork any more.