Bug #1213. Fix for improperly specified Content-Length header