* Only set the Content-Type to "application/x-www-form-urlencoded" if key-value pairs are added
* Previously the "application/x-www-form-urlencoded" Content-Type would be added even if you set a binary request body.
* You could add your own Content-Type with addRequestHeader, but this resulted in multiple Content-Type headers.
* Closes#1063