parse content-length field