Add setBufferSize method to set buffer size to the downloader