WIP: cleanups.
WIP: Use 64k blob size.
cmd: Use log API.

Debug print every 1k when receiving a binary blob.

A hack: Ignore blob's first \n assuming it's part of the previous
command.
WIP: Add programming and verification.