Change this to:

Request headers cannot be set after the connection has started.