I had the problem and fixed it by adding Connection => 'keep-alive' to the header. This works also without using the -k. Connection => 'close' is also wrong. Don't ask me why. --esskar