been searching for an executable version of winhttp5.1, could not get it .. i tried to modify that external code to use the default wininet DLL as opposed to the winhttp 5.1 .. that works .. hope it helps !!