fix bug caculate start and end point of stream that we want to use that to get the size of the url's inputstream, finish two ways of downloading file from specified url. one allows you to define a file at first and then save the stream directly to the file and amother way is first download in tmpfile that number base on how many thread you specified and then merge the tmpfile to specified file. two test can demonstrate how to use