handle properly responses containing multiple records

and support the 'offset' command
test the offset command