Hans Leidekker : wininet: Process caller supplied headers after inserting connection and authorization headers , not before.