If Content-Length is already set, don't override

Re: #1159
Merge pull request #1161 from sigmavirus24/fix1159

If Content-Length is already set, don't override