add lock to detect if a function is in a calling chain of another
function, implement inserters for InternetReadFile, InternetReadFileEx,
WSARecv, WSARecvFrom