Modify open to accept extra headers that will be sent to the server.  The new headers will override the existing if name collisions occur.