Make the lastlen parameter optional.
Added a parser for the Content-Range response header.