Fix issue #31, by B64-encoding and sending images in 8k chunks