Trying to figure out sending large images over socket