Fix for missing content length header

See https://github.com/valenok/mongoose/issues/81