Don't set Content-Length
This header is set automatically by the HTTP module (much more efficient) and does not need to be set in the library. Setting Content-Type is fine since that is not something the HTTP module can infer.