Explicitly set content-length in header

Incorrect value for content-length can cause request to hang waiting on remainder of body. Issue explained here w/ example http://stackoverflow.com/questions/26877928/http-request-does-not-emit-end-after-proxy/26894538#26894538