Use Buffer.byteLength instead of string length for Content-Length header
Use Buffer.byteLength instead of string length for Content-Length header

This prevents Content-Length mismatches when sending multi-byte characters.

See https://groups.google.com/forum/?fromgroups=#!topic/nodejs/LAxACfj5_KI.
cloudfoundry-community/uptime-cfready,phanan/uptime,heamon7/uptime,SaravananPerumal23/uptime2,arthurpro/uptime,prune998/uptime,rkmallik/uptime-openshift,memezilla/uptime,ptisp/uptime,bathree/uptime,rkmallik/uptime-openshift,brianjking/uptime,0x8BADFOOD/uptime,aregpetrosyan/web,SufianHassan/uptime,ptisp/uptime,WillGuan105/uptime,aregpetrosyan/web,nerevu/uptime,b-pedzik/uptime,blackboard/uptime,Maluuba/uptime,f33rx/docker-uptime,MichaelStephan/uptime,ifavo/uptime,jraigneau/watchdog,traskat/uptime,blendlabs/uptime,GuptaVineet-IBM/upTime_ford,SpringerPE/uptime,erpframework/uptime,fzaninotto/uptime,askcs/uptime,sinkingshriek/uptime,SaravananPerumal23/uptime2,f33rx/docker-uptime,nacyot/uptime,scalp42/uptime,nerevu/uptime