fix on_getblocks

in prev version was ignored by bitcoin core and others because it was
returning 501 blocks, it seems that we don't need to add head hash, and
just providing 500 children hashes is ok, it successfully synced
bitcoin-qt client in this form