setRequestHeader('Connection'...) is no longer allowed by browsers