go back to wininet instead of winhttp; removed exceptions