Added server ability to read number of blocks from json and client to skip sending first blocks