Checks if content-length is being set by the user before automatically adding it

This patch is required for Tessel to use the Plotly lib.