Changed the way of calculating Content-length header for http request using Express