fixing ssl buffer read
read complete request on file upload
tidy buffer after file upload
read properly to end of request after file upload
merging