use normal file sending in https capability

fixed #103
file needs to be sent in smaller chunks.