createInputStream not working on Windows (10)

cookies? may be similar to this discussion: URL::readEntireTextStream() inconsitent across platforms